package com.example.demo.day.config.learn.design.responsibity.x1;

public class Grouper extends Leader{

    public Grouper(Leader leader) {
        super(leader);
    }

    @Override
    public int getLimit() {
        return 100;
    }

    @Override
    public boolean handleRequest(int money) {
        System.out.println("组长批复报销" + money + "元");
        return true;
    }
}
